home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / SpriteWorld 1.0b3 / Examples / SpriteTest / About.h < prev    next >
Text File  |  1993-05-31  |  1KB  |  54 lines

  1. //--------------------------------------------------------------------------------------
  2. //    About.h
  3. //
  4. //    By:        Tony Myles
  5. //
  6. //    Copyright: © 1993 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __ABOUT__
  11. #define __ABOUT__
  12.  
  13. #ifndef __DIALOGS__
  14. #include <Dialogs.h>
  15. #endif
  16.  
  17. #ifndef __EVENTS__
  18. #include <Events.h>
  19. #endif
  20.  
  21. #ifndef __SPRITE__
  22. #include <Sprite.h>
  23. #endif
  24.  
  25.  
  26. enum
  27. {
  28.     kAboutDialogID = 1000,
  29.     kEarthCIconID = 300,
  30.     kShadowCIconID = 301,
  31.     kNumberOfShadowFrames = 3,
  32.     kInitialSpeed = 14,
  33.     kMaxSpeed = 15,
  34.     kReturnChar = 0x0D,
  35.     kEnterChar = 0x03
  36. };
  37.  
  38.  
  39. #ifdef __cplusplus
  40. extern "C" {
  41. #endif
  42.  
  43.  
  44. void DisplayAboutBox(void);
  45. SW_PASCAL void ShadowFrameProc(SpritePtr srcSpriteP, FramePtr curFrameP, long* curFrameIndex);
  46. SW_PASCAL void EarthMoveProc(SpritePtr srcSpriteP, Point* spritePoint);
  47. pascal Boolean AboutDialogFilter(DialogPtr aboutDialogP, EventRecord *event, short *itemHit);
  48.  
  49.  
  50. #ifdef __cplusplus
  51. };
  52. #endif
  53. #endif
  54.